Cancel Subscription
Cancel a specific existing subscription payment
POST
https://api.spotflow.co/api/v1/subscriptions/:subscription-id/cancel
Headers
authorization |
|
---|
Path Parameters
plan-id int32
This is the unique ID
of the plan you want to cancel
Sample Response
200 OK
{
"id": "722d7b6c-1fb6-4b01-bfd5-26bcd571ccb4",
"customerId": "b5d1111b-59f3-4f31-9e96-4f8f72cc5923",
"planId": "3cbab046-f06a-4815-941d-d8cc7be43d59",
"status": "cancelled",
"startDate": "2024-07-25T16:40:19Z",
"nextPaymentDate": "2024-07-26T16:40:19Z",
"createdAt": "2024-07-25T16:40:19Z"
}